package com.springbooti18n.config;

/**
 * xufan
 * 2019/1/4
 */
public class DataResponse {
    /**
     * Response 消息
     */
    private String message;

    /**
     * Response 状态码
     */
    private Object status;

    /**
     * Response 数据
     */
    private Object data;

    /**
     * 附加字段
     */
    private Object extData;

    /**
     * 通话令牌
     */
    private Object token;

    public static DataResponse build() {
        return new DataResponse();
    }

    public String getMessage() {
        return message;
    }

    public DataResponse setMessage(String message) {
        this.message = message;
        return this;
    }

    public Object getStatus() {
        return status;
    }

    public DataResponse setStatus(Object status) {
        this.status = status;
        return this;
    }

    public Object getData() {
        return data;
    }

    public DataResponse setData(Object data) {
        this.data = data;
        return this;
    }

    public Object getExtData() {
        return extData;
    }

    public DataResponse setExtData(Object extData) {
        this.extData = extData;
        return this;
    }

    public Object getToken() {
        return token;
    }

    public  DataResponse setToken(Object token) {
        this.token = token;
        return this;
    }
}
